package com.ossean.dao;

import java.util.List;

import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.InsertProvider;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import com.ossean.model.RelativeMemoToOpenSourceProject;

public interface RelativeMemoToOpenSourceProjectDao {
	//读取项目id对应的所有关联的帖子
	@Select("select relative_memo_id from  ${targetTableName}  where osp_id = #{osp_id}")
	public List<Integer> getRelativeMemosByOspId(@Param("targetTableName") String targetTableName,@Param("osp_id") int osp_id);
}
